# coding=utf-8
from django.conf import settings
from django.conf.urls import patterns, include, url
from django.contrib import admin

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'www.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^$', 'app.views.VERSION'),
    url(r'^version$', 'app.views.version'),
    url(r'^admin/', include(admin.site.urls)),
    # url(r'^environ$', 'app.views.get_environ'),
)

urlpatterns += patterns('',
    url(r'^static/(?P<path>.*)$','django.views.static.serve',
        {'document_root':settings.STATICFILES_DIRS, 'show_indexes':False}),
)